<?php

class ProfileModule extends LiriopeModule {

  // Shows a list of people
  public function show($params=NULL) {
    global $module;
    $profiles = new Profiles( a::get($params, 'data'));
    $module->profiles = $profiles->get();
  }

  // Shows an alternate view focusing more on contact and social media
  public function showMore($params=NULL) {
    global $module;
    $profiles = new Profiles(a::get($params, 'data'));
    $module->profiles = $profiles->get();
  }

}